package com.example.firstjavamqtt.model.dto.mqtt;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.springframework.stereotype.Component;

@Data
@ApiModel(value = "Mqtt温湿度传输对象")
@Component
public class MqttTemperatureHumidityDto {

    private String deviceId;
    private double temperature;
    private double humidity;
    private boolean online;
    private String location;
}
